package com.mef.smsplat.util;

/**
 * 系统静态常量
 * 
 * @author hc24
 * @version 2012-1-11
 */
public class Constants {
	/** 测试用电话号码 */
	public final static String TELPHONE="13880249673";
	
	// ==============用户类型===============
	/** 系统管理员 */
	public final static int USER_TYPE_SYS = 0;
	/** 管理员 */
	public final static int USER_TYPE_ADM = 1;
	/** 操作员 */
	public final static int USER_TYPE_OPR = 2;

	// ==============短信发送状态===============
	/** 发送中 */
	public final static int SMS_SEND_ING = 0;
	/** 发送成功 */
	public final static int SMS_SEND_SUCCESS = 1;
	/** 发送失败 */
	public final static int SMS_SEND_FAIL = 2;
	/** 终止 */
	public final static int SMS_SEND_OVER = 3;

	public int getSMS_SEND_ING() {
		return SMS_SEND_ING;
	}

	public int getSMS_SEND_SUCCESS() {
		return SMS_SEND_SUCCESS;
	}

	public int getSMS_SEND_FAIL() {
		return SMS_SEND_FAIL;
	}

	public int getSMS_SEND_OVER() {
		return SMS_SEND_OVER;
	}

	// =============模版类型===================
	/** 出票 */
	public final static int TEMP_TYPE_ETDZ=0;
	/** 不正常航班 */
	public final static int TEMP_TYPE_BZCHB=1;
	/** 其他 */
	public final static int TEMP_TYPE_OTHER=2;
	
	public int getTEMP_TYPE_ETDZ(){
		return TEMP_TYPE_ETDZ;
	}
	
	public int getTEMP_TYPE_BZCHB(){
		return TEMP_TYPE_BZCHB;
	}
	
	public int getTEMP_TYPE_OTHER(){
		return TEMP_TYPE_OTHER;
	}
	
	// =============标签类型===================
	/** 文本标签 */
	public final static int LABEL_TYPE_TEXT=0;
	/** 变量标签 */
	public final static int LABEL_TYPE_VAR=1;
	
	public int getLABEL_TYPE_TEXT(){
		return LABEL_TYPE_TEXT;
	}
	
	public int getLABEL_TYPE_VAR(){
		return LABEL_TYPE_VAR;
	}
	
	// =============短信类型===================
	/** 出票 */
	public final static int SMS_TYPE_ETDZ = 0;
	/** 不正常航班 */
	public final static int SMS_TYPE_BZCHB = 1;
	/** 其他 */
	public final static int SMS_TYPE_OTHER = 2;

	// =============短信操作类型===================
	/** 初次发送 */
	public final static int SMS_OPRA_SEND = 0;
	/** 重新发送 */
	public final static int SMS_OPRA_AGAIN = 1;
	/** 终止发送 */
	public final static int SMS_OPRA_OVER = 2;

	// ===============状态=============
	/** 状态-停用 */
	public final static int STOP = 0;
	/** 状态-启用 */

	public final static int NOMARL = 1;

	public final static int NORMAL=1;

	/** 状态-审核 */
	public final static int EXAMINE = 2;
	/** 状态-删除 */
	public final static int DELETE = 3;

	public int getSTOP() {
		return STOP;
	}


	public int getNOMARL() {
		return NOMARL;
	
	}	
	public int getNORMAL() {
		return NORMAL;

	}

	public int getEXAMINE() {
		return EXAMINE;
	}

	public int getDELETE() {
		return DELETE;
	}

	// ===============权限类型=============
	/** 可读 */
	public final static int IS_READ = 0;
	/** 操作 */
	public final static int IS_OPERATE = 1;

	public int getIS_READ() {
		return IS_READ;
	}

	public int getIS_OPERATE() {
		return IS_OPERATE;
	}

	// ===============是否菜单=============
	/** 是 */
	public final static int IS_MENU = 0;
	/** 否 */
	public final static int NO_MENU = 1;

	public int getIS_MENU() {
		return IS_MENU;
	}

	public int getNO_MENU() {
		return NO_MENU;
	}

	
	// ===============男女=============
	/** 男 */
	public final static int MALE=0;
	/** 女 */
	public final static int FEMALE=1;
	
	public int getMALE() {
		return MALE;
	}
	public int getFEMALE() {
		return FEMALE;
	}
	
	// ===============身份=============
	/** 旅客 */
	public final static int PASSENGER=0;
	/** 工作人员 */
	public final static int WORKMAN=1;
	
	public int getPASSENGER() {
		return PASSENGER;
	}
	public int getWORKMAN() {
		return WORKMAN;
	}
	
	// ===============导入旅客的文件类型=============
	/** TXT */
	public final static int TXT=0;
	/** EXCEL */
	public final static int EXCEL=1;
	
	public int getTXT() {
		return TXT;
	}
	public int getEXCEL() {
		return EXCEL;
	}
	
	// ===============组成员类型=============
	/** 个人 */
	public final static int PERSON=0;
	/** 公司 */
	public final static int COMPANY=1;
	
	public int getPERSON() {
		return PERSON;
	}
	public int getCOMPANY() {
		return COMPANY;
	}
	
	// ===============公司类型=============
	/** 代理人 */
	public final static int AGENT=0;
	/** 航空公司 */
	public final static int AIRPORT=1;
	
	public int getAGENT() {
		return AGENT;
	}
	public int getAIRPORT() {
		return AIRPORT;
	}
	
	
	//=================其他全局常量====================
	/** 小数保留位数 */
	public static final int XIAOSHU=0;
	/** session中保存的RouteVo的key值 */
	public static final String SESSION_ROUTE_VO="routeVo";
	/** session中保存的UserVo的key值 */
	public static final String SESSION_USER_VO="userVo";

	/** session中保存的登录类型的key值 */
	public static final String SESSION_TYPE = "LOGINTYPE";
	/** session中保存的operator的key值 */
	public static final String SESSION_SYS_ADMIN = "SYSADMIN";
	/** session中保存的admin的key值 */
	public static final String SESSION_ADMIN = "ADMIN";
	/** session中保存的operator的key值 */
	public static final String SESSION_OPERATOR = "OPERATOR";
	/** 默认密码 */
	public final static String PASSWORD = "12345a";

	public String getPASSWORD() {
		return PASSWORD;
	}

}
